package cz.proks.easyhelpdesk.gwt.ui.cell;

import com.google.gwt.cell.client.TextCell;
import com.google.gwt.safehtml.shared.SafeHtml;
import com.google.gwt.safehtml.shared.SafeHtmlBuilder;
import com.google.gwt.safehtml.shared.SafeHtmlUtils;

public class EmptyTextCell extends TextCell {
    private final String emptyString = "";
    private final SafeHtml emptyHtml = SafeHtmlUtils.fromTrustedString("");
    @Override
    public void render(com.google.gwt.cell.client.Cell.Context context, SafeHtml value, SafeHtmlBuilder sb) {        
        super.render(context, emptyHtml, sb);
    }
    
    @Override
    public void render(com.google.gwt.cell.client.Cell.Context context, String data, SafeHtmlBuilder sb) {
        super.render(context, emptyString, sb);
    }
}
